#!/bin/sh

# install gdm home dir
install -d -m 755 /var/lib/gdm || :
chown _gdm:_gdm /var/lib/gdm > /dev/null 2>&1 || :

# install gdm log dir
install -d -m 1770 /var/log/gdm || :
chown _gdm:_gdm /var/log/gdm > /dev/null 2>&1 || :

# environment dirs
install -d -m 755 /usr/share/gdm/env.d /etc/gdm/env.d || :
